<script type="text/javascript" language="javascript" src="{$smarty.const.HOST_STATICS}js/language/backend/common.js?{$smarty.const.JS_UPDATE}"></script>
<script type="text/javascript" language="javascript" src="{$smarty.const.HOST_STATICS}js/library/jquery-1.7.1.js"></script>
<script type="text/javascript" language="javascript" src="{$smarty.const.HOST_STATICS}js/library/jquery.validate.js"></script>
<script type="text/javascript" language="javascript" src="{$smarty.const.HOST_STATICS}js/library/jquery.blockui.js" ></script>
<script type="text/javascript" language="javascript" src="{$smarty.const.HOST_STATICS}js/library/common.js?{$smarty.const.JS_UPDATE}"></script>
<script type="text/javascript" language="javascript" src="{$smarty.const.HOST_STATICS}js/library/md5.js?{$smarty.const.JS_UPDATE}"></script>
{if is_array($arrJS)}
    {section name=i loop=$arrJS}
        <script type="text/javascript" src="{$arrJS[i]}?{$smarty.const.JS_UPDATE}"></script>
    {/section}
{/if}
{literal}
	<script type="text/javascript" language="javascript">
    	function showUIMessage(msg) {
			if (msg!='') {
				$.blockUI({
					message: msg, 
					css: {
						background:'#fffbba', 
						color:'#a90a0e', 
						border:'1px solid #ffc407', 
						showOverlay: false, 
						width:'300px', 
						top: ($(window).height()-200)/2 + 'px', 
						left:($(window).width()-300)/2 + 'px', 
						padding:'10px'
					}, 
					overlayCSS: {opacity:'0'}
				});
				$('.blockOverlay').click($.unblockUI);
				setTimeout($.unblockUI, 2*20*60);
			}
		}
		if(strMsg) { 
			showUIMessage(strMsg); 
		}
		if(strError) alert(strError);
    </script>
{/literal}